package com.go.where.manager.service;

import com.go.where.manager.page.Pagination;
import com.go.where.manager.pojo.DonateRetrospectInfo;
import com.go.where.manager.pojo.user.UserInfoVO;

/**
 * 课程回顾信息Service
 * 
 * @author java
 * 
 */
public interface DonateRetrospectService {

	/**
	 * 根据主键id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public DonateRetrospectInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param retrospectInfo
	 * @return
	 */
	public Pagination<DonateRetrospectInfo> queryPage(
			DonateRetrospectInfo retrospectInfo);

	/**
	 * 修改信息
	 * 
	 * @param retrospectInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int update(DonateRetrospectInfo retrospectInfo,
			UserInfoVO currentUser);

	/**
	 * 保存信息
	 * 
	 * @param retrospectInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int save(DonateRetrospectInfo retrospectInfo, UserInfoVO currentUser);

}
